div.ml-cont{border: 0px solid red;width: 100%;}
div.ml-cont *, div.bxml-subdialog-cont *{font-family:Verdana,Arial,Helvetica,sans-serif; font-size: 13px;}
div.ml-cont table {border-collapse: collapse;}
div.ml-cont table td{padding: 0px;}

/*a#btn_new_item{background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); background-position: -30px 2px !important;}*/
/*a#btn_new_collection{background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); background-position: -30px 2px !important;}*/
a#btn_access{background-image:url(/bitrix/themes/.default/images/popup/access.gif); background-position: -1px 1px;}
a#btn_mass_upload{background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); background-position: -30px -16px !important;}
a#btn_mass_upload{background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); background-position: -30px -16px !important;}
a#btn_type_config{background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); background-position: -134px -59px !important;}

div.ml-breadcrumbs{padding-left: 10px; height: 30px;}
.ml-coll-items-cont{display: none; margin-bottom: 2px;}

div.ml-coll-child-cont{display: none; /*padding: 10px;*/ border-top-width: 0px !important; margin: 0px 2px;}
div.ml-coll-child-cont table{border-collapse: collapse;}

div.ml-coll-child-cont table td.ml-coll-items-cont, div.ml-coll-child-cont table td.ml-coll-cols-cont{padding: 8px 10px;}
div.ml-coll-child-cont table td.ml-coll-cols-cell-x img{width: 200px; height: 1px; float: left;}

div.ml-coll-title {height:22px;margin: 1px 2px 0px 2px; text-align: left; cursor: pointer; position: relative; border-bottom-width: 0px !important;}
div.ml-coll-title span{display: block; padding-top: 2px; overflow: hidden;}
div.ml-coll-title span.ml-smaller-title {font-size: 11px; padding-top: 4px; color: #6E8C9B;}

div.ml-coll-title input{display: block; float: left; margin-left: 6px;}
div.ml-coll-title img.ml-col-menu{width: 28px; height: 18px; float: left; margin: 2px 8px 1px 5px; background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); background-position: -40px -61px;}
img.ml-col-menu-over{margin: 1px 7px 0px 4px !important; background-color: #dae5f7; border: 1px solid #AEB6C2;}
img.ml-col-menu-pushed{margin: 1px 7px 0px 4px !important; border: 1px solid #AEB6C2 !important;}
div.ml-coll-title img.ml-col-menu-dis{background-position: -73px -61px;}

div.mlcolllevel-0{background:url(/bitrix/images/fileman/medialib/col_bg_0.gif) repeat-x 0 1px; color: #000; border: 1px solid #BCCAD1;}
div.mlcolllevel-1{background:url(/bitrix/images/fileman/medialib/col_bg_1.gif) repeat-x 0 1px; color: #000;  border: 1px solid #C7CDE5;}
div.mlcolllevel-2{background:url(/bitrix/images/fileman/medialib/col_bg_2.gif) repeat-x 0 1px; color: #000;  border: 1px solid #B9DDB0;}
div.mlcolllevel-3{background:url(/bitrix/images/fileman/medialib/col_bg_3.gif) repeat-x 0 1px; color: #000;  border: 1px solid #EBEBEB;}

.mlchlevel-0{border: 1px solid #BCCAD1;}
.mlchlevel-1{border: 1px solid #C7CDE5;}
.mlchlevel-2{border: 1px solid #B9DDB0;}
.mlchlevel-3{border: 1px solid #EBEBEB;}

td.ml-title-cell{background: #23468A url(/bitrix/images/fileman/medialib/title_bg.gif) repeat-x;height: 20px; cursor: default !important;}
td.ml-title-cell table{height: 20px; width: 100%;}
td.ml-diad-title{text-align: left; color: #FFFFFF; font-weight: bold; white-space: nowrap;}
td.ml-title-cell table td.ml-close{text-align: right;}
td.ml-title-cell table td.ml-close img{width: 16px; height: 16px; background: url(/bitrix/images/fileman/medialib/iconkit.gif) 0px -16px;}

table.multiaction, table.multiaction td.table{border-collapse: collapse;}
table.multiaction td, table.multiaction td.table td{padding: 0px;}
table.multiaction td.content {padding: 2px !important;}
a.ma-but-delete{cursor: pointer !important; padding: 3px 2px 0 25px !important; background: url(/bitrix/themes/.default/images/actions/delete_button.gif) no-repeat 0 1px;}
td.multi-dis a.ma-but-delete{background: url(/bitrix/themes/.default/images/actions/delete_button_dis.gif) no-repeat 0 0px !important;}


div.mlvi-info-cnt{padding: 5px;width: 230px;float: left;}
div.mlvi-img-cnt{float: left; border-left:10px solid white; float:left; padding-top:5px;}
table.mlvi-info-tbl {border-collapse: collapse; /* width: 220px; */}
div.mlsd table table.mlvi-info-tbl td{padding: 2px;}
div.mlvi-info-name{font-size: 14px !important; font-weight: bold; display: block; margin-top: 3px; overflow: hidden; float: left;}
div.mlsd table td.mlvi-new-row {padding-top: 6px!important;}
/* Info panel*/
div.mlvi-info-collections{font-size: 11px !important; float: left;}
td.ml-info-keys-h span{display: none;}
div.ml-info-desc{font-size: 11px !important; color:#000; display: block; margin-top: 0px; width: 220px; padding: 3px;}
div.mlid-scrld{overflow: auto; height: 50px; border: 1px solid #ACACAC;}
div.mlvi-info-details{font-size: 11px !important; color:#000; display: block; margin-top: 2px; width: 99%; overflow: hidden;
border-bottom:1px solid #E5E5E5; padding-bottom:20px; margin-bottom: 6px;}
a.ml-info-coll{text-decoration: none;}
td.ml-info-desc-h span, td.ml-info-desc-h div{display: none;}
div.ml-no-info div.ml-info-noinfo{display: block;}
div.ml-no-info table.ml-info-tbl{display: none;}
td.small-grey, td.small-grey *{font-size: 11px !important; color:#808080;}

div.ml-no-info div.ml-info-noinfo{display: block;}
div.ml-no-info table.ml-info-tbl{display: none;}

.ml-iconkit {background-image: url(/bitrix/images/fileman/medialib/iconkit.gif);}

div.ml-collect-cont{width: 200px;height: 10px;border: 1px solid #ACACAC; overflow: auto; overflow-x: hidden;}
div.ml-add-coll{width: 180px;height: 20px;margin-top: 8px;}

div.ml-head-cont{height: 30px; width: 100%;}
div.ml-head-cont table{width: 100%; border-collapse: collapse;}
div.ml-head-cont table td{padding: 5px !important;}
div.ml-head-cont table td.ml-left{text-align: left;}
div.ml-head-cont table td.ml-right{text-align: right;}

div.mlcollt-active{background:url(/bitrix/images/fileman/medialib/col_bg_active.gif) repeat-x !important; border: 1px solid #FFC569;}
div.mlcollt-active-ch{border: 1px solid #FFC569;}

img.ml-col-icon, img.ml-col-icon-closed{width: 16px; height: 20px; float: left; margin: 2px 0 0 5px;}
img.ml-col-icon-closed{background: url(/bitrix/images/fileman/medialib/iconkit.gif) -15px -31px;}
img.ml-col-icon-opened{background: url(/bitrix/images/fileman/medialib/iconkit.gif) -1px -31px;}

div.mlcollt-root img.ml-col-icon-closed{background: url(/bitrix/images/fileman/medialib/iconkit.gif) -15px -43px;}
div.mlcollt-root img.ml-col-icon-opened{background: url(/bitrix/images/fileman/medialib/iconkit.gif) -1px -43px;}

img.ml-col-del, img.ml-col-edit{width: 17px; height: 18px; background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); position: absolute; top: 1px; display: none;}
img.ml-col-del{background-position: 0px -60px; right: 35px;}
img.ml-col-edit{background-position: -20px -60px; right: 17px;}
div.mlcollt-over img.ml-col-del, div.mlcollt-over img.ml-col-edit{display: block !important;}

div.ml-list-cont{border: 1px solid #ACACAC; overflow: auto;}
div.ml-list-noitems{font-size: 12px; color:#808080; display: block; margin: 5px;}

div.ml-buttons-cont{height: 35px; float: left; padding-top: 4px;}
div.ml-buttons-cont table{width: 100%;}
div.ml-buttons-cont table td.ml-left{text-align: left; padding-left: 5px;}
div.ml-buttons-cont table td.ml-right{text-align: right; padding-right: 15px;}

/* breadcrumbs*/
div.ml-head-cont div.ml-breadcrumbs{font-size: 13px; font-weight: bold; padding-left: 10px;}
div.ml-cont div.ml-crumb{float:left; color:#6E8C9B; cursor: pointer; font-size: 14px !important; font-weight: bold; margin: 5px 7px 0px 7px;}
div.ml-crumb-sep{width: 10px; height: 15px; float:left; background:url(/bitrix/images/fileman/medialib/iconkit.gif) -2px 2px; margin: 5px 7px 0px 7px;}

a.ml-add-el-link{font-size: 13px; margin-left: 8px;}
a.ml-add-el-link img{width: 18px; height: 18px; margin: 0px 3px -4px 0px; background: url(/bitrix/images/fileman/medialib/iconkit.gif) -30px 1px;}

/* Subdialogs */
div.bxml-subdialog-cont{position: absolute; top: 0; left: 0; width: 1px; height: 1px; z-index: 2000 !important;}
div.mlsd {display: none; position: absolute;overflow: hidden; background-color: #FFFFFF;border: 1px solid #808080;}
div.mlsd table {border-collapse: collapse;}
div.mlsd table td{padding: 0;}
div.mlsd table.mlsd-frame{width: 100%;}
table.mlsd-frame td.ml-content-cell{padding: 5px;}
table.mlsd-frame td.ml-buttons-cell{padding: 5px; text-align: center;}
/* table.mlsd-frame td.ml-buttons-cell input{padding: 0 !important;} */
table.mlsd-fields-tbl {width: 100%;}
div.mlsd  table.mlsd-fields-tbl td{padding: 4px 6px; text-align: left;}
div.mlsd  table.mlsd-fields-tbl td input{width: 190px;}
div.mlsd table.mlsd-frame td.ml-title-cell table td.ml-close {padding-right: 2px !important;}
div.mlsd table.mlsd-frame td.ml-diad-title span{display: block; width: 310px; overflow: hidden;}
iframe.mlsd-iframe{width: 410px; overflow: hidden; height: 275px;}

div.ml-item-cont {border: 1px solid #ACACAC; float: left; margin: 3px; background-color: #E1E9ED; text-align: center; position: relative;}
div.ml-item-title {position: absolute; height: 20px; overflow: hidden; bottom: 0px; left: 0px;  white-space: nowrap; margin-left: 4px;}
input.item-checkbox{position: absolute; top: 1px; left: 1px;}

.ml-item-thumb {border: 1px solid #6E8C9B; margin: 2px;}
.ml-item-no-thumb{background: url(/bitrix/images/fileman/medialib/no_thumb.gif) center center no-repeat; width: 100px; height: 100px;}
.no-thumb-view{background: url(/bitrix/images/fileman/medialib/no_thumb.gif) center center no-repeat; border: 1px solid #6E8C9B; }

div.ml-item-but-cont {position: absolute; bottom: 1px; right: 1px;width: 20px;display: none;}
div.ml-item-but-cont img{width: 17px; height: 18px; background-image: url(/bitrix/images/fileman/medialib/iconkit.gif); cursor: pointer; margin: 1px;}
img.ml-item-del{background-position: 0px -60px; right: 1px;}
img.ml-item-edit{background-position: -20px -60px; right: 19px;}
img.ml-item-view{background-position: -108px -60px; right: 19px;}
div.ml-item-cont-over div.ml-item-but-cont{display: block !important;}
div.ml-item-cont-over{background-color: #F2F6F8 !important;}
div.ml-item-active{background-color: #FEFAD5 !important;}


/*confirm*/
div.ml-confd-text{margin: 20px;}
div.mlsd-confirm{background-color:#FFF; filter: gray() alpha(opacity=90); -moz-opacity: 0.9; opacity: 0.9; border: 1px solid #CCC !important; text-align: center !important; z-index: 2200 !important;}
div.mlsd-confirm input{padding: 0 2px;}

/*overlay*/
.bx-trans-overlay{height:100%; width:100%; left: 0; top: 0; position: absolute; -moz-user-select: none !important; display: none; background-color:#000; filter: gray() alpha(opacity=10); -moz-opacity: 0.1; opacity: 0.1;}
.bx-clear-overlay{height:100%; width:100%; left: 0; top: 0; position: absolute; -moz-user-select: none !important; display: none; background-color:#FFF; filter: gray() alpha(opacity=1); -moz-opacity: 0.01; opacity: 0.01;}

/* Context menu*/
.bx-cm{position: absolute; left: -1000px; top: -1000px; visibility: hidden;  font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size: 12px;}
.bx-cm table{border-collapse: collapse;}
.bx-cm table td{padding: 0px;}
.bxcm-popup{border:1px solid #B6B6B6; padding:0px !important; background-color:#FCFCFC; background-image:url(/bitrix/themes/.default/images/menu_gutter.gif); background-repeat:repeat-y; font-size: 16px !important;}
.bxcm-popup table.popupitem{width: 175px; margin:1px !important; cursor:default; border-collapse: separate !important;}
.bxcm-popup table.popupitemover {border:1px solid #4B4B6F !important; margin:0px !important; background-color: #FFC678 !important;}
.bxcm-popup table.popupitem td.item {padding: 1px 5px !important; white-space: nowrap; font-size: 70%; cursor: default;}
.bxcm-popup table.popupitem td.gutter {width: 20px; height: 20px;}
div.popupseparator{background-color:#B6B6B6;height:1px;margin:1px 0 1px 30px;overflow:hidden;}

.bx-button{width: 20px; height: 20px;}
div#bx_btn_access{background:url(/bitrix/themes/.default/images/popup/access.gif) no-repeat -1px 1px;}
div#bx_btn_edit{background:url(/bitrix/images/fileman/medialib/iconkit.gif) no-repeat -20px -59px;}
div#bx_btn_del{background:url(/bitrix/images/fileman/medialib/iconkit.gif) no-repeat 0px -59px;}
div#bx_btn_add_item{background:url(/bitrix/images/fileman/medialib/iconkit.gif) no-repeat -29px 3px;}
div#bx_btn_add_col{background:url(/bitrix/images/fileman/medialib/iconkit.gif) no-repeat -29px 3px;}
div#bx_btn_change_type{background:url(/bitrix/images/fileman/medialib/iconkit.gif) no-repeat -134px -59px;}

/* MASS UPLOADER */
table.mu-items-list {border-collapse: collapse; width: 700px;}
table.mu-items-list *{font-size: 13px;}
td.mu-label {text-align: right; padding-right: 10px;}
tr.mu-separator td{height: 20px; border-top: 1px solid #c0c0c0}
td.mu-thumb-cell {background-color: #E1E9ED; border: 1px solid #ACACAC; padding: 5px; text-align: center; vertical-align: middle;}
td.mu-thumb-cell img{border: 1px solid #ACACAC;}
 input.mu-text-inp {width: 91%;}
div.mu-check-col{float: left; border: 1px solid #6E8C9B; width: 100px; padding: 2px; overflow: hidden; margin: 2px; position: relative; background: url(/bitrix/images/fileman/medialib/group_bg.gif) repeat-x scroll left top; white-space: nowrap;}
img.mu-col-del{width: 17px; height: 18px; background: url(/bitrix/images/fileman/medialib/iconkit.gif) 0px -60px; right: 1px; position: absolute; top: 1px; display: none;}
div.mu-col-over img.mu-col-del{display: block !important;}
select option.mu-opt-checked{color: #808080; font-weight: bold; background-color: #F2F6F8;}

div.bxml-search-controll {padding: 0 5px;}
div.bxml-search-controll input{font-size: 12px; height: 22px; vertical-align: middle; padding-bottom:2px;}
div.bxml-search-controll span{color: #5D5D5D; display:block; float:left; margin: 4px 5px 0 5px;}
div.ml-search-res-cont{display: none;}
div.ml-search-res-cont div.ml-title{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;color:#6E8C9B;font-weight:bold;padding-left: 10px; height: 30px;}
div.ml-search-res-cont div.ml-items-cont {border:1px solid #BCCAD1; margin:0 2px 10px 2px;}
div.ml-search-res-cont div.ml-coll-title span {padding-left:  9px;}
div.ml-search-res-cont div.ml-coll-title span a{text-decoration: none; color: #5D5D5D; font-size: 11px;}
div.ml-search-res-cont div.ml-coll-title span.ml-search-res-title{display: inline !important; float: none !important; padding: 0 !important; font-weight: bold;}
div.ml-search-res-cont  div.ml-search-no-result{margin: 10px; color: #808080; font-style:italic;}

/* MEDIALIB TYPES*/
div.ml-type-cont{display: none; height: 30px; width: 200px;}

div.ml-type-cont div.ml-type-sel {width: 198px; height: 30px; position: relative; border: 2px solid #CECECE; background: #FFFFFF;z-index: 200;}
div.ml-type-sel div.mlt-val-cnt{width: 198px;height: 30px; overflow: hidden; float: left; cursor: pointer; background: url(/bitrix/images/fileman/medialib/type_select.gif) 173px 5px no-repeat; font-weight: bold;}
div.ml-type-sel div.mlt-popup{position: absolute; top: 28px; left: -2px;display: none; overflow: hidden;width: 198px; z-index: 200; border-width: 0 2px 2px 2px; border-style: solid; border-color: #CECECE;background: url(/bitrix/images/fileman/medialib/type_hr.gif) 0px 0px no-repeat #FFFFFF;padding-top: 3px; height: 0px;}

div.ml-type-sel div.mlt-popup-inner{width: 198px;}
div.ml-type-sel div.mlt-item{height: 26px; cursor: pointer;background: #ffffff;}
div.ml-type-sel div.mlt-item-over{background: url(/bitrix/images/fileman/medialib/type_item_over.gif) !important;}

div.mlt-item table {border-collapse: collapse;}
div.mlt-item table td{padding: 0px;}
div.mlt-val-ic img{margin: 5px;}
div.mlt-item table td.mlt-title {padding-left: 5px; text-align: left; vertical-align: middle; white-space: nowrap;}
div.mlt-item table td.mlt-ic img{margin: 3px 6px;}

div.mlt-val-ic{float: left; width: 30px; height: 30px; overflow: hidden;}
div.mlt-val-name{float: left; padding: 8px 5px; text-align: left; vertical-align: middle; overflow:hidden; white-space:nowrap; width:130px;}



.upl-select {
	border: 1px solid;
	border-color: #b9bcbe #bdc1c3 #c1c5c8;
	-webkit-box-shadow: inset 0 1px 2px 0 #dbdbdb;
	box-shadow: inset 0 1px 2px 0 #dbdbdb;
	border-radius: 2px;
	color: #585858;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	min-width: 200px;
	max-width: 320px;
	height: 27px;
	outline: none;
	padding: 3px 3px 3px 0;
	vertical-align: middle;
}

.upl-top-bar-text {
	color: #41474f;
	display: inline-block;
	font-size: 14px;
	margin-right: 19px;
	vertical-align: middle;
}

input.bxu-file-input{
	cursor: pointer !important;
	font-size: 320px !important;
	height: 105px !important;
	opacity: 0 !important;
	position: absolute !important;
	right: 0 !important;
	top: -20px !important;
	opacity: 0 !important;
	filter: alpha(opacity=0)!important;
}

.bx-uploader {
	background-color: #f8fafb;
	border: 1px solid;
	border-color: #d9e4e7 #d9e4e7 #d4dfe2;
	border-top: none;
	border-radius: 0 0 4px 4px;
	-webkit-box-shadow: 0 1px 2px #e3e5e5;
	box-shadow: 0 1px 2px #e3e5e5;
}

.bxu-thumbnails {
	padding: 0 2px;
}
.bxu-start-block {
	display: none;
	overflow: hidden;
	position: relative;
}

.bxu-thumbnails-start .bxu-start-block {
	display: block;
}

.bxu-start-block-cont {
	top: 12%;
	left: 9.5%;
	position: absolute;
	width: 81%;
}

.bxu-start-block-img {
	display: block;
	margin: 6% auto 2%;
	max-width:328px;
	width: 24%;
}

.bxu-start-block-btn {
	position: relative;
	text-align: center;
	margin-bottom: 2.5%;
}

.bxu-start-block-text {
	color: #92959c;
	font-weight: bold;
	font-size: 30px;
	text-align: center;
}

.bxu-start-block-description {
	color: #c6c9cc;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-top: 1%;
}

.bxu-start-block-spacer-div {
	position: relative;
	display: block;
	width: 75%;
	margin: 5% auto 2.5%;
	overflow: hidden;
}
.bxu-start-block-spacer-img {
	border: 2px dashed #bcd2e5;
	border-radius: 5px;
	display: block;
	/*margin: 5% auto 2.5%;*/
	width: 99%;
}

.bxu-start-block-spacer-div input {
	height: 100%;
	width: 200%;
	cursor: pointer !important;
	opacity: 0 !important;
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	filter: alpha(opacity=0)!important;
	z-index: 120;
}

.bxu-top-block {
	background-color: #ecf1f3;
	background-image: -webkit-linear-gradient(top, #f9f9f9, #dee9ec);
	background-image:    -moz-linear-gradient(top, #f9f9f9, #dee9ec);
	background-image:     -ms-linear-gradient(top, #f9f9f9, #dee9ec);
	background-image:      -o-linear-gradient(top, #f9f9f9, #dee9ec);
	background-image:         linear-gradient(to bottom, #f9f9f9, #dee9ec);
	border: 1px solid;
	border-color: #f1f1f1 #b8c2c4 #a4a5a6;
	-webkit-box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #e6eff1, 0 1px 0 #dfe1e1;
	box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,0.2), 0 1px 0 #dfe1e1;
	border-radius: 4px;
	height: 34px;
	margin: 0 -2px;
	padding:7px 21px 0 20px;
	position: relative;
	z-index: 2;
}

.bxu-settings-block {
	float: right;
	margin-top: 1px;
}

.bxu-thumbnails-loading .bxu-settings-block {
	display: none;
}

.bxu-settings-block-templates {
	display: inline-block;
	vertical-align: middle;
}

.bxu-templates-btn {
	display: inline-block;
	border: 1px solid;
	border-color: #dcdede #d2d8da #cbd3d6;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
	height: 23px;
	position: relative;
	vertical-align: top;
	width: 25px;
}

.bxu-templates-btn:first-child {
	border-radius: 3px 0 0 3px;
	border-right: none;
}

.bxu-templates-btn:last-child {
	border-left: none;
}

.bxu-templates-btn-active:first-child {
	border-right: 1px solid #bec5cb;
	border-radius: 2px 0 0 2px;
}

.bxu-templates-btn-active:last-child {
	border-left: 1px solid #bec5cb;
	border-radius: 0 2px 2px 0;
}

.bxu-templates-btn-small:before,
.bxu-templates-btn-big:before {
	background: url(/bitrix/images/fileman/medialib/uploader/upl-sprite.png) no-repeat 100px 100px;
	content: '';
	height: 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	width: 16px;
}

.bxu-templates-btn-small:before {
	background-position: center -44px;
}

.bxu-templates-btn-big:before {
	background-position: center 0;
}

.bxu-templates-btn-active {
	border-color: #acb1b8 #b4bbc1 #c9d2d5 #c9d2d5;
	background-color: #dde6e8;
	background-image: -webkit-linear-gradient(top, #dce3e6, #dee8ea);
	background-image:    -moz-linear-gradient(top, #dce3e6, #dee8ea);
	background-image:     -ms-linear-gradient(top, #dce3e6, #dee8ea);
	background-image:      -o-linear-gradient(top, #dce3e6, #dee8ea);
	background-image:         linear-gradient(to bottom, #dce3e6, #dee8ea);
	-webkit-box-shadow: inset 0 1px 1px #b4babf;
	box-shadow: inset 0 1px 1px #b4babf;
	cursor: auto;
	width: 24px;
}

.bxu-templates-btn-active:last-child:before {
	left: 4px;
}

.bxu-set-btn {
	background: url(/bitrix/images/fileman/medialib/uploader/upl-sprite.png) no-repeat 10px -73px;
	border-left: 1px solid #c9d0d3;
	-webkit-box-shadow: inset 1px 0 0 #fafbfc;
	box-shadow: inset 1px 0 0 #fafbfc;
	display: inline-block;
	cursor: pointer;
	color: #41474f;
	font-size: 14px;
	line-height: 21px;
	margin-left: 5px;
	padding-left: 33px;
	text-shadow: 0 1px #fff;
	vertical-align: middle;
	height: 22px;
}

.bxu-set-btn:hover {
	text-decoration: underline;
}

.bxu-loading-block {
	display: none;
	vertical-align: middle;
}
.bxu-thumbnails-loading .bxu-loading-block {
	display: inline-block;
}
.bxu-thumbnails-loading .bxu-settings-block {
	display: none;
}

.bxu-loading-block-bar {
	background-color: #dee9ec;
	border: 1px solid;
	border-color: #c2cace #d1dadd #ccd8da;
	-webkit-box-shadow: 0 1px 0 #f7f9fa, inset 0 1px 0 #d6e1e4;
	box-shadow: 0 1px 0 #f7f9fa, inset 0 1px 0 #d6e1e4;
	border-radius: 4px;
	display: inline-block;
	height: 5px;
	margin:0 18px 0 20px;
	vertical-align: middle;
	position: relative;
	width: 110px;
}

.bxu-loading-block-bar-inner {
	background-color: #737d8a;
	background-image: -webkit-linear-gradient(top, #87929d, #6d7683);
	background-image:    -moz-linear-gradient(top, #87929d, #6d7683);
	background-image:     -ms-linear-gradient(top, #87929d, #6d7683);
	background-image:      -o-linear-gradient(top, #87929d, #6d7683);
	background-image:         linear-gradient(to bottom, #87929d, #6d7683);
	border: 1px solid;
	border-color: #9da5b1 #7e90a2 #58768f;
	border-radius: 4px;
	height: 5px;
	top: -1px;
	left: -1px;
	position: absolute;
}

.bxu-loading-block-text {
	color: #6f747a;
	display: inline-block;
	font-size: 13px;
	text-shadow: 0 1px #fafcfc;
	vertical-align: middle;
}

.bxu-loading-block-cancel-btn {
	color: #41474f;
	cursor: pointer;
	font-size: 14px;
	margin-left: 15px;
	text-shadow: 0 1px #f8fafb;
	text-decoration: underline;
}




.bxu-main-block {
	margin: -1px 2px 0;
	padding: 23px 0 7px;
}

.bxu-thumbnails-start .bx-main-block {
	padding: 0;
}
.bxu-items, .bxu-item {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.bxu-items {
	height: 650px;
	overflow-y: auto;
	padding:2px 0 4px 1%;
}

.bxu-thumbnails-start .bxu-items {
	display: none;
}

.bxu-item {
	display: inline-block;
	margin-bottom: 35px;
	max-width: 380px;
	vertical-align: top;
	width: 16.6%;
}


.bxu-item-block {
	background-color: #fff;
	border-radius: 3px;
	-webkit-box-shadow: 0 4px 0 1px rgba(1, 2, 2, .15);
	box-shadow: 0 1px 3px 0 rgba(1, 2, 2, .15);
	display: block;
	margin: 0 6%;
	position: relative;
}

.bx-ie8 .bxu-item-block {
	border: 1px solid #eaeced;
}

.bx-ie8 .bxu-item-block:hover {
	border: 1px solid #cfd0d1;
}



.bxu-item-block-top {
	background-color: #fff;
	display: block;
	position: relative;
}

.bxu-spacer {
	border: none;
	display: block;
	width: 100%;
}

.bxu-item-block-preview {
	top: 0;
	left: 0;
	height: 100%;
	text-align: center;
	position: absolute;
	width: 100%;
}
.bx-bxu-thumb-preview, .bx-bxu-canvas {
	display: inline-block;
	height: 100%;
	width: 100%;
}
.bx-bxu-canvas:before {
	display: inline-block;
	content: '';
	height: 100%;
	margin-left: -1px;
	vertical-align: middle;
	width: 1px;
}

.bxu-item-loading .bxu-item-block-preview {
	display: none;
}

.bxu-item-alinment {
	display: block;
	height: 100%;
	width: 100%;
}

.bxu-item-block-preview img, .bxu-item-block-preview canvas {
	border: none;
	display: inline-block;
	max-height: 93%;
	max-width: 93%;
	vertical-align: middle;
	height: auto !important;
	width: auto !important;
}
.bxu-item-block-preview span.bx-bxu-thumb-file-icon {
	border: none;
	display: inline-block;
	max-height: 50%;
	max-width: 93%;
	vertical-align: middle;
	height: auto !important;
	width: auto !important;
	position: relative;
}
.bxu-item-block-preview span.bx-bxu-thumb-file-name {
	border: none;
	display: inline-block;
	max-height: 50%;
	max-width: 93%;
	vertical-align: middle;
	height: auto !important;
	width: auto !important;
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
	top: 43px;
}
.bxu-item-block-icon-holder {
	display: block;
	position: absolute;
	background: url(/bitrix/images/fileman/medialib/icons_sprite.png) no-repeat 0px -325px;
	content: '';
	width: 29px;
	height: 30px;
	left: -15px;
	top: -15px;
}
.bxu-item-doc .bxu-item-block-icon-holder { background-position: 0px -0px; }
.bxu-item-pdf .bxu-item-block-icon-holder { background-position: 0px -46px; }
.bxu-item-ppt .bxu-item-block-icon-holder { background-position: 0px -92px; }
.bxu-item-xls .bxu-item-block-icon-holder { background-position: 0px -137px; }
.bxu-item-php .bxu-item-block-icon-holder { background-position: 0px -184px; }
.bxu-item-txt .bxu-item-block-icon-holder { background-position: 0px -277px; }
.bxu-item-mp3 .bxu-item-block-icon-holder { background-position: 0px -369px; }
.bxu-item-zip .bxu-item-block-icon-holder { background-position: 0px -413px; }
.bxu-item-rar .bxu-item-block-icon-holder { background-position: 0px -459px; }
.bxu-item-avi .bxu-item-block-icon-holder,
.bxu-item-flv .bxu-item-block-icon-holder,
.bxu-item-wma .bxu-item-block-icon-holder,
.bxu-item-wmv .bxu-item-block-icon-holder,
.bxu-item-mp4 .bxu-item-block-icon-holder,
.bxu-item-avi .bxu-item-block-icon-holder { background-position: 0px -506px; }

.bxu-item-block-bottom {
	background-color: #fff;
	border-top: 1px solid #f2f2f2;
	display: block;
	height: 36px;
	overflow: hidden;
}

.bx-ie8 .bxu-item-block-bottom {
	background: none;
}


.bxu-item-block-desc {
	display: block;
	padding-left: 10px;
	overflow: hidden;
}

.adm-workarea input[type="text"].bxu-item-thumb-description-inp {
	background-color: #fff;
	border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
	display: block;
	height: 36px;
	margin: 0;
	padding: 0;
	width: 100%;
}

.bxu-item-block-setting {
	float: right;
	padding: 6px 3px 0 0;
}

.bxu-item-btn {
	background: url(/bitrix/images/fileman/medialib/uploader/upl-sprite.png) no-repeat 100px 100px;
	cursor: pointer;
	display: inline-block;
	height: 24px;
	margin-left: 5px;
	opacity: 0.6;
	vertical-align: top;
	visibility: hidden;
	width: 24px;
}

.bxu-item-block:hover .bxu-item-btn {
	visibility: visible;
}

.bxu-item-btn:hover {
	opacity: 1;
}

.bxu-item-btn:first-child {
	margin-left: auto;
}

.bxu-item-btn-edit {
	background-position: center -102px;
}

.bxu-item-btn-turn {
	background-position: center -132px;
}
.bxu-item-btn-del {
	background-position: center -162px;
}

.bxu-item-load-bar {
	background-color: #eef5f7;
	border: 1px solid;
	border-color: #ced4d6 #e0e6e7 #dde4e6;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 #e5ebed;
	box-shadow: inset 0 1px 0 #e5ebed;
	display: none;
	height: 5px;
	margin-top: -4px;
	top: 50%;
	left: 10%;
	right: 10%;
	position: absolute;
}

.bxu-item-loading .bxu-item-load-bar {
	display: block;
}

.bxu-item-load-bar-inner {
	background-color: #737d8a;
	background-image: -webkit-linear-gradient(top, #87929d, #6d7683);
	background-image:    -moz-linear-gradient(top, #87929d, #6d7683);
	background-image:     -ms-linear-gradient(top, #87929d, #6d7683);
	background-image:      -o-linear-gradient(top, #87929d, #6d7683);
	background-image:         linear-gradient(to bottom, #87929d, #6d7683);
	border: 1px solid;
	border-color: #9da5b1 #7e91a2 #58768f;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 #afb6bd;
	box-shadow: inset 0 1px 0 #afb6bd;
	display: block;
	height: 5px;
	left: -1px;
	top: -1px;
	position: absolute;
}

.bxu-item-error-cont {
	display: block;
	left: 0;
	top: 20%;
	text-align: center;
	position: absolute;
	width: 100%;
}

.bxu-error-icon {
	background: url(/bitrix/images/fileman/medialib/uploader/upl-error-img.png) no-repeat center -40px;
	display: inline-block;
	height: 36px;
	width: 39px;
}

.bxu-error-text {
	color: #4f5d67;
	display: block;
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
}



.bxu-bottom-block {
	height: 61px;
	overflow: hidden;
	padding: 0 12px 0 28px;
}

.bxu-thumbnails-start .bxu-bottom-block {
	display: none;
}

.bxu-bottom-block-shadow-wrap {
	height: 6px;
	overflow: hidden;
	position: relative;
}

.bxu-bottom-block-shadow {
	background-image: -webkit-linear-gradient(top, rgba(109,109,109, 0.01) 5% , rgba(84,95,112,0.11) 40%);
	background-image:    -moz-linear-gradient(top, rgba(109,109,109, 0.01) 5% , rgba(84,95,112,0.11) 40%);
	background-image:     -ms-linear-gradient(top, rgba(109,109,109, 0.01) 5% , rgba(84,95,112,0.11) 40%);
	background-image:      -o-linear-gradient(top, rgba(109,109,109, 0.01) 5% , rgba(84,95,112,0.11) 40%);
	background-image:         linear-gradient(to bottom, rgba(109,109,109, 0.01) 6% , rgba(84,95,112,0.11) 50%);
	border-radius: 50%;
	height: 12px;
	opacity: 0.8;
	top: 0;
	left: 6px;
	right: 6px;
	position: absolute;
}

.bxu-bottom-block-btns {
	float: left;
	padding: 15px 10px 0 4px;
}

.bxu-bottom-block-text {
	color: #41474f;
	float: right;
	font-size: 14px;
	padding: 22px 7px 0 0;
}



.bxu-main-block-reduced-size .bxu-item {
	max-width: 192px;
	width: 20%;
}

.bxu-main-block-reduced-size .bxu-item-block {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.bxu-main-block-reduced-size .bxu-item-block-top {
	-webkit-box-shadow: 0 1px 3px 0 rgba(1, 2, 2, 0.15);
	box-shadow: 0 1px 3px 0 rgba(1, 2, 2, 0.15);
	z-index: 2;
}

.bxu-main-block-reduced-size .bxu-item:hover .bxu-item-block-top {
	-webkit-box-shadow: 0 1px 3px 1px #c3c7c9;
	box-shadow: 0 1px 3px 1px #c3c7c9;
}

.bxu-main-block-reduced-size .bxu-item-block-bottom {
	border: 1px solid #e5e7e7;
	border-top: none;
	bottom: 0;
	border-radius: 2px;
	height: 0;
	left: 1px;
	right: 1px;
	position: absolute;
	z-index: 0;

	-webkit-transition: bottom 0.15s linear;
	-moz-transition: bottom 0.15s linear;
	-ms-transition: bottom 0.15s linear;
	-o-transition: bottom 0.15s linear;
	transition: bottom 0.15s linear;
}

.bxu-main-block-reduced-size .bxu-item:hover .bxu-item-block-bottom {
	bottom: -28px;
	height: 28px;
}

.bxu-main-block-reduced-size .bxu-item-block-setting {
	padding-top: 4px;
}

.bxu-main-block-reduced-size .bxu-item-block-desc {
	display: none;
}

.bxu-main-block-reduced-size .bxu-item-btn {
	visibility: visible;
}

.bxu-main-block-reduced-size .bxu-error-icon {
	background-position: center 0;
	height: 27px;
}
.bxu-main-block-reduced-size .bxu-error-text {
	font-size: 12px;
}


@media (max-width: 1200px) {
	.bxu-item {
		width: 33%;
	}
	.bxu-main-block-reduced-size .bxu-item {
		max-width: 100%;
		width: 20%;
    }

	.bxu-start-block-text {
	  font-size: 23px;
	}

	 .bxu-start-block-description {
	  font-size: 13px;
	}
}

@media (min-width: 1200px) and (max-width: 1400px)
{
	.bxu-items {
		padding-left: 0;
	}
	.bxu-item {
		width: 25%;
	}

	.bxu-main-block-reduced-size .bxu-item {
		max-width: 100%;
		width: 16.5%;
	}

	.bxu-start-block-text {
	  font-size: 27px;
	}

	 .bxu-start-block-description {
	  font-size: 15px;
	}
}

@media (min-width: 1400px) and (max-width: 1600px)
{
	.bxu-items {
		padding-left: 0;
	}
	.bxu-item {
		width: 20%;
	}

	.bxu-main-block-reduced-size .bxu-item {
		max-width: 100%;
		width: 14.28%;
	}

}

@media (min-width: 1600px) and (max-width: 20000px)
{
	.bxu-items {
		padding-left: 0;
	}
	.bxu-item {
		width: 16.6%;
	}

	.bxu-main-block-reduced-size .bxu-item {
		max-width: 100%;
		width: 12.5%;
	}
}

.bxu-thumbnails-simple .bxu-dnd {
	display : none;
}
.bxu-thumbnails .webform-button .webform-button-text{
	overflow: hidden;
	position: relative;
}

/* Webforms buttons */

.bxu-thumbnails .webform-button, .webform-button-left, .webform-button-right, .webform-button-text {
	display: inline-block; vertical-align: top !important; height:36px; line-height:36px; cursor:pointer; text-decoration:none !important; outline:none; white-space: nowrap;
}

.bxu-thumbnails .webform-button { margin: 0 16px 0 0;  background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -584px; -webkit-font-smoothing: antialiased; }
.bxu-thumbnails .webform-button-text { font: normal normal bold 14px/33px "Helvetica Neue", Helvetica, Arial, sans-serif; padding:0 7px; color: #555555; background: none;  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); }
.bxu-thumbnails .webform-button-left { width: 6px; position: relative; left: -6px; background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -74px -313px; }
.bxu-thumbnails .webform-button-right { width: 6px; position: relative; left: 6px; background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -80px -313px;}
.bxu-thumbnails .webform-button:hover {  background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -623px;}
.bxu-thumbnails .webform-button:hover .webform-button-text { background: none; }
.bxu-thumbnails .webform-button:hover .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -87px -313px; }
.bxu-thumbnails .webform-button:hover .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -93px -313px; }
.bxu-thumbnails .webform-button:active { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -662px; }
.bxu-thumbnails .webform-button:active .webform-button-text { background: none; }
.bxu-thumbnails .webform-button:active .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -99px -313px; }
.bxu-thumbnails .webform-button:active .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -105px -313px; }

.bxu-thumbnails .webform-button-accept,
.bxu-thumbnails .webform-button-create {  background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -355px;}
.bxu-thumbnails .webform-button-accept .webform-button-text,
.bxu-thumbnails .webform-button-create .webform-button-text { background: none; color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);}
.bxu-thumbnails .webform-button-accept .webform-button-left,
.bxu-thumbnails .webform-button-create .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat 0 -313px; }
.bxu-thumbnails .webform-button-accept .webform-button-right,
.bxu-thumbnails .webform-button-create .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -6px -313px; }
.bxu-thumbnails .webform-button-accept:hover,
.bxu-thumbnails .webform-button-create:hover { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -394px;  }
.bxu-thumbnails .webform-button-accept:hover .webform-button-text,
.bxu-thumbnails .webform-button-create:hover .webform-button-text { background: none; }
.bxu-thumbnails .webform-button-accept:hover .webform-button-left,
.bxu-thumbnails .webform-button-create:hover .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -13px -313px; }
.bxu-thumbnails .webform-button-accept:hover .webform-button-right,
.bxu-thumbnails .webform-button-create:hover .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -19px -313px; }
.bxu-thumbnails .webform-button-accept:active,
.bxu-thumbnails .webform-button-create:active { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -434px; }
.bxu-thumbnails .webform-button-accept:active .webform-button-text,
.bxu-thumbnails .webform-button-create:active .webform-button-text { background: none; }
.bxu-thumbnails .webform-button-accept:active .webform-button-left,
.bxu-thumbnails .webform-button-create:active .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -25px -313px; }
.bxu-thumbnails .webform-button-accept:active .webform-button-right,
.bxu-thumbnails .webform-button-create:active .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -31px -313px; }

.bxu-thumbnails .webform-button-decline { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -470px; }
.bxu-thumbnails .webform-button-decline .webform-button-text { background: none;  color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);}
.bxu-thumbnails .webform-button-decline .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -37px -313px; }
.bxu-thumbnails .webform-button-decline .webform-button-right {  background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -43px -313px; }
.bxu-thumbnails .webform-button-decline:hover { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -508px;  }
.bxu-thumbnails .webform-button-decline:hover .webform-button-text { background:  none; }
.bxu-thumbnails .webform-button-decline:hover .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -50px -313px; }
.bxu-thumbnails .webform-button-decline:hover .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -56px -313px; }
.bxu-thumbnails .webform-button-decline:active { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) repeat-x 0 -547px; }
.bxu-thumbnails .webform-button-decline:active .webform-button-text { background:  none; }
.bxu-thumbnails .webform-button-decline:active .webform-button-left { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -62px -313px; }
.bxu-thumbnails .webform-button-decline:active .webform-button-right { background: url(/bitrix/images/fileman/medialib/uploader/buttons-sprite.png) no-repeat -68px -313px; }

.bxu-thumbnails .webform-button-link {  font: normal normal normal 14px/normal "Helvetica Neue", Helvetica, Arial, sans-serif; }
.bxu-thumbnails .webform-button-link-cancel  { color: #d20000 !important; }

.bxu-top-block-inp {
	border: 1px solid;
	border-color: #b9bcbe #bdc1c3 #c1c5c8;
	border-radius: 2px;
	-webkit-box-shadow: 0 1px 2px 0 #DBDBDB inset;
	box-shadow: 0 1px 2px 0 #DBDBDB inset;
	font-size: 14px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #41474f;
	height: 25px;
	margin-left: 10px;
	padding: 0 5px;
	vertical-align: middle;
	width: 180px;
}
.bxiu-notice-form p {color: #8a8d91!important;}
